package com.bosicloud.cmb.ibp.commom.utils;

/**
 * @author Jack Peng / ziliang.peng@bosicloud.com
 */
public class PageUtils {

    public static int pageIndex(int page) {
        if(page <= 1) {
            return 0;
        }

        return 20 * (page - 1);
    }

}
